<?php
/**
 * Created by PhpStorm.
 * User: lenove
 * Date: 2018/12/10
 * Time: 20:11
 */
class Status{
    static $request_error = array("msg" => "不支持get请求", "status" => -1);
    static $register_error = array("msg" => "用户名,密码,手机号不能为空", "status" => -101);
    static $register_success = array("msg" => "注册成功", "status" => 1);
    static $register_failure = array("msg" => "注册失败", "status" => -102);

    static $login_success = array("msg" => "登录成功", "status" => 2);
    static $login_failure = array("msg" => "登录失败,用户名或密码错误", "status" => -201);
    static $login_error = array("msg" => "用户名或密码不能为空", "status" => -202);

    static $delete_success = array("msg" => "删除成功", "status" => 1);
    static $delete_failure = array("msg" => "删除失败", "status" => 0);
    static $update_success = array("msg" => "修改成功", "status" => 1);
    static $update_failure = array("msg" => "修改失败", "status" => 0);


}